﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using SymmetricEncription.Controls;

namespace SymmetricEncription.Presenters
{
    public class FinalStep : ProcessStepBase
    {
        private byte[] encryptedData = new byte[0];
        public byte[] EncryptedData
        {
            get { return encryptedData; }
        }


        public FinalStep(ProcessStepBase previousStep, byte[] encryptedData) : base(previousStep)
        {
            this.encryptedData = encryptedData;
            this.Title = "Общий результат шифрования";
        }

        private FinalOutput stepUIControl = new FinalOutput();
        public override UIElement StepUIControl
        {
            get { return this.stepUIControl; }
        }

        public override bool CanGoNext
        {
            get
            {
                return false;
            }
        }

        public override ProcessStepBase GetNextStep()
        {
            return null;
        }
    }
}
